<?php

/**
 * UserDos form.
 *
 * @package    Amman to London
 * @subpackage form
 * @author     Adel Abu-Saif <adeljas@msn.com>
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class UserDosForm extends BaseUserDosForm {

    public function configure() {

        $Course = new sfWidgetFormDoctrineJQueryAutocompleter(array(
                    'url' => sfContext::getInstance()->getRouting()->generate("auto_complete_my_dosyeh"),
                    'model' => 'Course',
                ));
        $this->setWidget('course_id', $Course);
    }

}
